package com.cy.pj.um.service;

import com.cy.pj.um.dao.BrandDao;
import com.cy.pj.um.pojo.Brand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BrandServiceImpl implements BrandService{
    @Autowired
    private BrandDao brandDao;
    @Override
    public List<Brand> doFindAll(String name) {
        return brandDao.doFindAll(name);
    }
}
